package com.bw.shop2208a.entity

import androidx.annotation.NonNull
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * 搜索历史记录实体类
 */
@Entity(tableName = "search_history")
data class SearchHistoryEntity(

    val id:Int,//主键
    @PrimaryKey()
    val name: String,//搜索关键词
    val time:Long//搜索时间
)